 $.ajax({ 
    url: "http:\\localhost\json\abc\post", 
    type: "POST", 
    dataType: "json", 
    data: {"action": "loadall", "id": id}, 
    success: function(data){ 
        // handler 
    }, 
    error: function(error){ 
       // handler 
    } 
});
 //tren service  se dinh nghia 1 path abc\post co 1 param action va id
 //request get data cung vay

 $.ajax({ 
    url: "http:\\localhost\json\abc\get", 
    type: "GET", 
    dataType: "json", 
    data: {"action": "loadall", "id": id}, 
    success: function(data){ 
         
    }, 
    error: function(error){ 
         
    } 
});